package edu.sctu.nieyu.day20150515;


/**
 * Created by user01 on 2015/5/15.
 */
public class Text  {
   private int red ;
   private int green;
   private int blue ;

    public  void getColor(int red,int green,int blue){
        this.red =red;
        this.green=green;
        this.blue =blue;

    }
    public static void main(String[] args) {

        Text text = new Text();
        text.getColor(3,5,10);
        System.out.println("red:"+text.red+";"+"green:"+text.green+";"+"blue:"+text.blue);

    }
}


